package com.liaoyifan.core.config;

import com.liaoyifan.core.constant.Constants;
import com.liaoyifan.core.constant.Properties;
import com.liaoyifan.core.opera.ResponseWrapper;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import(ResponseWrapper.class)
@ConditionalOnProperty(name = Properties.RESPONSE_WRAPPER_ENABLE, havingValue = Constants.TRUE)
public class ResponseWrapperConfiguration {}
